package com.alks.entity.data.entity.dispatch;

import cn.afterturn.easypoi.excel.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

public class SysOperLog extends BaseEntity {
    private static final long serialVersionUID = 1L;
    @Excel(
        name = "操作序号"
    )
    private Long operId;
    @Excel(
        name = "操作模块"
    )
    private String title;
    @Excel(
        name = "业务类型"
    )
    private Integer businessType;
    private Integer[] businessTypes;
    @Excel(
        name = "请求方法"
    )
    private String method;
    @Excel(
        name = "请求方式"
    )
    private String requestMethod;
    @Excel(
        name = "操作类别"
    )
    private Integer operatorType;
    @Excel(
        name = "操作人员"
    )
    private String operName;
    @Excel(
        name = "部门名称"
    )
    private String deptName;
    @Excel(
        name = "请求地址"
    )
    private String operUrl;
    @Excel(
        name = "操作地址"
    )
    private String operIp;
    @Excel(
        name = "操作地点"
    )
    private String operLocation;
    @Excel(
        name = "请求参数"
    )
    private String operParam;
    @Excel(
        name = "返回参数"
    )
    private String jsonResult;
    @Excel(
        name = "状态"
    )
    private Integer status;
    @Excel(
        name = "错误消息"
    )
    private String errorMsg;
    @Excel(
        name = "操作时间",
        width = 30.0
    )
    private Date operTime;

    public SysOperLog() {
    }

    public Long getOperId() {
        return this.operId;
    }

    public void setOperId(Long operId) {
        this.operId = operId;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getBusinessType() {
        return this.businessType;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }

    public Integer[] getBusinessTypes() {
        return this.businessTypes;
    }

    public void setBusinessTypes(Integer[] businessTypes) {
        this.businessTypes = businessTypes;
    }

    public String getMethod() {
        return this.method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getRequestMethod() {
        return this.requestMethod;
    }

    public void setRequestMethod(String requestMethod) {
        this.requestMethod = requestMethod;
    }

    public Integer getOperatorType() {
        return this.operatorType;
    }

    public void setOperatorType(Integer operatorType) {
        this.operatorType = operatorType;
    }

    public String getOperName() {
        return this.operName;
    }

    public void setOperName(String operName) {
        this.operName = operName;
    }

    public String getDeptName() {
        return this.deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getOperUrl() {
        return this.operUrl;
    }

    public void setOperUrl(String operUrl) {
        this.operUrl = operUrl;
    }

    public String getOperIp() {
        return this.operIp;
    }

    public void setOperIp(String operIp) {
        this.operIp = operIp;
    }

    public String getOperLocation() {
        return this.operLocation;
    }

    public void setOperLocation(String operLocation) {
        this.operLocation = operLocation;
    }

    public String getOperParam() {
        return this.operParam;
    }

    public void setOperParam(String operParam) {
        this.operParam = operParam;
    }

    public String getJsonResult() {
        return this.jsonResult;
    }

    public void setJsonResult(String jsonResult) {
        this.jsonResult = jsonResult;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getErrorMsg() {
        return this.errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public Date getOperTime() {
        return this.operTime;
    }

    public void setOperTime(Date operTime) {
        this.operTime = operTime;
    }

    public String toString() {
        return (new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)).append("operId", this.getOperId()).append("title", this.getTitle()).append("businessType", this.getBusinessType()).append("businessTypes", this.getBusinessTypes()).append("method", this.getMethod()).append("requestMethod", this.getRequestMethod()).append("operatorType", this.getOperatorType()).append("operName", this.getOperName()).append("deptName", this.getDeptName()).append("operUrl", this.getOperUrl()).append("operIp", this.getOperIp()).append("operLocation", this.getOperLocation()).append("operParam", this.getOperParam()).append("status", this.getStatus()).append("errorMsg", this.getErrorMsg()).append("operTime", this.getOperTime()).toString();
    }
}
